home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
439_01
/
readme.doc
< prev
next >
Wrap
Text File
|
1995-11-13
|
27KB
|
529 lines
File Dated: 11/14/95
******************************************************************************
Quick Start with XLIB
******************************************************************************
The user manual is largely dedicated to cover specifics of XLIB which
will not be of concern to many programmers. A few notes are added here to
expedite matters for these programmers.
If you are not an assembly language programmer, then consider using
EASYX rather than XLIB. EASYX does not require use or knowledge of
assembly language. The documentation for EASYX is in the file EASYX.DOC.
If you are familiar with assembly language, then start by reading the
file DONTREAD.ME. This file is for those who don't particularly enjoy
reading 60 page user manuals. It is an excellent tutorial. You will
probably be ready to program with XLIB after working through the tutorial.
If your program is to be written exclusively in assembly language, then
examine the files FLAT.INC and FLAT.ASM. FLAT.INC is an include file which
enables flat-model programming in DOS. FLAT.ASM illustrates usage of
FLAT.INC.
******************************************************************************
Frequently Encountered Problems When Starting XLIB
******************************************************************************
The most frequently reported problem with XLIB is in fact no problem at
all. XLIB presents a registration reminder message when terminating. Some
interpret this message as meaning that the shareware version of XLIB is
disabled. This is not the case. The shareware version is fully
functional. You must register XLIB to obtain a copy of the library that
does not present the message.
The registration reminder message is actually a confirmation that XLIB
has been initiated and terminated successfully. If this message doesn't
appear in the shareware version, then the main program almost certainly has
a bug preventing clean termination.
The second most frequently reported problem is by assembly language
programmers who find that attempts to initialize XLIB (with INITXLIB) fail
for lack of DOS memory. MASM programmers must remember to link with the
CPARM:1 parameter. TASM programmers must resize the memory block into
which DOS loaded the program (see EXAMP1B.ASM).
******************************************************************************
Improvements in XLIB Version 5.1 Over Version 5.0
******************************************************************************
1) FLAT.INC and PMIO.INC contained statements which assumed the presence
of a floating point unit. These files have been generalized under
version 5.1.
2) PMXLOAD did not limit file loads to the size of the destination memory
block. This bug has been fixed in version 5.1.
******************************************************************************
Registering XLIB
******************************************************************************
XLIB may be registered for $50. Registrants will be sent a registered
copy of the XLIB archive along with a printed copy of the user manual.
Technical support is provided for both registered and unregistered users;
however, if you have used technical support or intend to use it, then the
registration fee is $70.
There are four ways to register XLIB. We prefer that you use one of the
first two methods:
1) By email using MasterCard or Visa:
Edit the form in the file EMAIL.REG then email the file to TechniLib.
2) By mail to TechniLib:
Send check or money order along with return address to:
TechniLib Company
P.O. Box 6818
Jackson, Ms 39282
USA
Please write "XLIB" on check or include an explanatory note. An email
address would also be appreciated.
3) By credit card through Public (software) Library:
You can order with MC, Visa, Amex, or Discover from Public (software)
Library by calling 800-2424-PsL or 713-524-6394 or by FAX to 713-524-6398
or by CIS email to 71355,470. You can also mail credit card orders to PsL
at P.O.Box 35705, Houston, TX 77235-5705. The product ID for XLIB is 11077.
THE ABOVE NUMBERS ARE FOR ORDERS ONLY. Any questions about the status of
the shipment of the order, refunds, registration options, product details,
technical support, volume discounts, dealer pricing, site licenses, etc,
should NOT be directed to PsL. Direct all such questions to TechniLib.
4) Through CompuServe:
Use GO SWREG (shareware registration). The program identification number
is 1778. The program title is XLIB 5.1.
XLIB may be registered for $50. Registrants will be sent a registered
copy of the XLIB archive along with a printed copy of the user manual.
Technical support is provided for both registered and unregistered users;
however, if you have used technical support or intend to use it, then the
registration fee is $70.
******************************************************************************
Obtaining the Most Recent Version of XLIB
******************************************************************************
The most recent version of XLIB may be downloaded from:
1) CompuServe - GO MSLANG or GO BCPPDOS then choose ASSEMBLER.
2) Internet - oak.oakland.edu under directory \simtel\msdos\c
Expect the archive to be named either XLIBvv.ZIP or DXLIBvv.ZIP where
vv denotes the version number.
Keywords for XLIB include: XMS, DPMI, VCPI, DOS, EXTENDER, PROTECTED
MASM, TASM, TECHNILIB.
******************************************************************************
Communicating with TechniLib Via Electronic Mail
******************************************************************************
You can communicate with TechniLib via CompuServe or Internet electronic
mail. Direct CompuServe mail to user ID: 74730,167. Internet users should
use the address: 74730.167@compuserve.com. Internet users may also send
mail to davidpyles@delphi.com.
******************************************************************************
Instructions for Constructing Protected-Mode Libraries for Microsoft
******************************************************************************
The following batch file uses Microsoft LIB to combine an OBJ file with
XLIB.LIB to produce a protected-mode library. Call the batch file using the
base name of the OBJ file as the argument. This base name will also be
given to the library. It is assumed that the OBJ file and XLIB.LIB are in
the current directory. LIB.EXE is assumed to be in the ..\BIN directory.
@echo on
del %1.lib
..\bin\lib %1.lib /noi +%1.obj+xlib.lib;
The following batch file uses Microsoft LINK and LIB to combine an OBJ
file with XLIB.LIB to produce a protected-mode library and quick library for
Microsoft BASIC 7.0. Call the batch file using the base name of the OBJ
file as the argument. This base name will also be given to the library and
the quick library. It is assumed that all files apart from LINK.EXE and
LIB.EXE are in the current directory. The current directory must also
contain the file QBXQLB.LIB (included in the BASIC distribution disks).
LINK.EXE and LIB.EXE are assumed to be in the ..\BIN directory.
@echo on
del %1.qlb
del %1.lib
..\bin\link /q/nopackf xlib.lib+%1.obj,%1.qlb,,qbxqlb.lib;
..\bin\lib %1.lib +xlib.lib+%1.obj;
The following command may be used to create a quick library from
EASYX.LIB. The quick library is called EASYX.QLB:
..\bin\link /q/nopackf easyx.lib,easyx.qlb,,qbxqlb.lib;
******************************************************************************
Instructions for Constructing Libraries and Linking with Borland
******************************************************************************
The following batch file uses TLINK to link an OBJ file from TASM with
XLIBB.LIB to produce a DOS-extended executable. The base name of the OBJ
is supplied as an argument to the batch file. The executable will be given
the same base name as the OBJ file. It